- 
		Home
	
 
	- 
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More
 
- 
1.9.8.1
 
- 
Code
 
- 
Classes
 
-  Connection 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											55 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											13 | 
										
																	
							 
													
								
																			
											| Total lines | 
											549 | 
										
																			
											| Lines of code | 
											151 | 
										
																			
											| Logical lines of code | 
											73 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											290 | 
										
																			
											| Methods | 
											29 | 
										
																			
											| Properties | 
											10 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 29
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| __construct() | 
									A  | 
																	52 | 
													9 | 
													23 | 
							
					
				| encrypt_tokens() | 
									S  | 
																	58 | 
													6 | 
													17 | 
							
					
				| is_configured() | 
									S  | 
																	77 | 
													4 | 
													3 | 
							
					
				| is_saveable() | 
									S  | 
																	78 | 
													3 | 
													3 | 
							
					
				| is_usable() | 
									S  | 
																	79 | 
													3 | 
													3 | 
							
					
				| get() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| delete() | 
									S  | 
																	71 | 
													2 | 
													5 | 
							
					
				| get_mode() | 
									S  | 
																	80 | 
													2 | 
													3 | 
							
					
				| get_access_token() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| get_refresh_token() | 
									S  | 
																	79 | 
													2 | 
													3 | 
							
					
				| set_status() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_data() | 
									S  | 
																	61 | 
													1 | 
													13 | 
							
					
				| save() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| revoke_tokens() | 
									S  | 
																	66 | 
													1 | 
													8 | 
							
					
				| get_live_mode() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_client_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_merchant_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_currency() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_currency() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| get_status() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_renew_at() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_renew_at() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_scopes_updated() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_scopes_updated() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| get_statuses() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_encrypted() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| is_expired() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_currency_matched() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_valid() | 
									S  | 
																	80 | 
													1 | 
													3 |